package com.example.project.service.login;

import com.example.project.entity.User;

/**
 * @author Lenovo
 * @version 1.0
 * @date 2025/5/7 16:45
 * @className WeChatStrategy
 */
public class WeChatStrategy implements LoginStrategy{
    @Override
    public User login(Object... params) {
        //1. 获取临时凭证
        String code = (String)params[0];
        //2. 访问微信服务器拿到openid

        return null;
    }

    @Override
    public String getLoginType() {
        return "wechat";
    }
}
